/**
 * desc: 教师首页接口
 */

import request from '@/static/uitls/request.js'

// 首页获取轮播图
const getTBannerList = () => {
	return request({
		url: '/teacher/v1/banner',
		method: 'GET'
	})
}
// 最新公告
const getTNoticeList = () => {
	return request({
		url: '/teacher/v1/notice/new',
		method: 'GET'
	})
}
// 首页资讯
const getTRecommendList = id => {
	return request({
		url: '/teacher/v1/infomation/recommend?info_cate_id='+id,
		method: 'GET'
	})
}


module.exports = {
	getTBannerList,
	getTNoticeList,
	getTRecommendList
}
